import request from '@/utils/request'

// 查询指标计算配置列表
export function listSysIndicatorsConfig(query) {
  return request({
    url: '/sysIndicatorsConfig/sysIndicatorsConfig/list',
    method: 'get',
    params: query
  })
}

// 查询指标计算配置详细
export function getSysIndicatorsConfig() {
  return request({
    url: '/sysIndicatorsConfig/sysIndicatorsConfig/getInfo',
    method: 'get'
  })
}

// 保存指标计算配置
export function saveSysIndicatorsConfig(data) {
  return request({
    url: '/sysIndicatorsConfig/sysIndicatorsConfig/save',
    method: 'post',
    data: data
  })
}

// 删除指标计算配置
export function delSysIndicatorsConfig(id) {
  return request({
    url: '/sysIndicatorsConfig/sysIndicatorsConfig/' + id,
    method: 'delete'
  })
}

// 导出指标计算配置
export function exportSysIndicatorsConfig(query) {
  return request({
    url: '/sysIndicatorsConfig/sysIndicatorsConfig/export',
    method: 'get',
    params: query
  })
}
